package szcg.framework.library.utils;

public class HardwareUtils {

    /**
     * 获取设备处理器核心数量
     *
     * @return Cores
     */
    public static int getCores() {
        return Runtime.getRuntime().availableProcessors();
    }
}
